# Update 'Inspectionerrandfile'

Endpoint: PATCH /errands/inspections/reporting/inspectionerrandfile/{pk}/
Version: 2.0.0
Security: customer_id, application_id, service_id, service_version_id, client_ct, client_object_id, client_secret

## Path parameters:

  - `pk` (string, required)

## Request fields (application/json):

  - `organization` (object)

  - `organization.id` (string)

  - `custom_id` (string)

  - `inspection_errand_note` (object)
    **Additional Validation Information:**
This value can't bet set, when any of the following fields are set: `inspection_errand_fault`
This field, or at least one of the following fields must be set: `inspection_errand_fault`

  - `inspection_errand_note.id` (string)

  - `inspection_errand_fault` (object)
    **Additional Validation Information:**
This value can't bet set, when any of the following fields are set: `inspection_errand_note`
This field, or at least one of the following fields must be set: `inspection_errand_note`

  - `inspection_errand_fault.id` (string)

  - `file_obj` (object, required)

  - `file_obj.name` (string)
    wanted filename of the file

  - `file_obj.md5_hash` (string)
    base64 encoded md5hash of the file

  - `file_obj.get` (string)

  - `file_obj.post` (object)

  - `file_obj.post.url` (string)

## Response 200 fields (application/json):

  - `created_at` (string)

  - `organization` (object)

  - `organization.id` (string)

  - `custom_id` (string)

  - `id` (string, required)
    **Additional Validation Information:**
Must be unique

  - `inspection_errand_note` (object)
    **Additional Validation Information:**
This value can't bet set, when any of the following fields are set: `inspection_errand_fault`
This field, or at least one of the following fields must be set: `inspection_errand_fault`

  - `inspection_errand_note.id` (string)

  - `inspection_errand_fault` (object)
    **Additional Validation Information:**
This value can't bet set, when any of the following fields are set: `inspection_errand_note`
This field, or at least one of the following fields must be set: `inspection_errand_note`

  - `inspection_errand_fault.id` (string)

  - `file_obj` (object, required)

  - `file_obj.name` (string)
    wanted filename of the file

  - `file_obj.md5_hash` (string)
    base64 encoded md5hash of the file

  - `file_obj.get` (string)

  - `file_obj.post` (object)

  - `file_obj.post.url` (string)

